package lp.xian.materials.service;

import java.util.List;
import lp.xian.materials.domain.WarehouseDept;

/**
 * 仓库分类Service接口
 *
 * @author ruoyi
 * @date 2023-08-10
 */
public interface IWarehouseDeptService
{
    /**
     * 查询仓库分类
     *
     * @param warehouseDeptId 仓库分类主键
     * @return 仓库分类
     */
    public WarehouseDept selectWarehouseDeptByWarehouseDeptId(Integer warehouseDeptId);

    /**
     * 查询仓库分类列表
     *
     * @param warehouseDept 仓库分类
     * @return 仓库分类集合
     */
    public List<WarehouseDept> selectWarehouseDeptList(WarehouseDept warehouseDept);

    /**
     * 新增仓库分类
     *
     * @param warehouseDept 仓库分类
     * @return 结果
     */
    public int insertWarehouseDept(WarehouseDept warehouseDept);

    /**
     * 修改仓库分类
     *
     * @param warehouseDept 仓库分类
     * @return 结果
     */
    public int updateWarehouseDept(WarehouseDept warehouseDept);

    /**
     * 批量删除仓库分类
     *
     * @param warehouseDeptIds 需要删除的仓库分类主键集合
     * @return 结果
     */
    public int deleteWarehouseDeptByWarehouseDeptIds(Integer[] warehouseDeptIds);

    /**
     * 删除仓库分类信息
     *
     * @param warehouseDeptId 仓库分类主键
     * @return 结果
     */
    public int deleteWarehouseDeptByWarehouseDeptId(Integer warehouseDeptId);
}
